package com.outstanding.junit.bo.gateway;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.outstanding.junit.enums.EnableDisableType;
import com.outstanding.junit.enums.IsBatch;
import com.outstanding.junit.enums.IsDelete;
import com.outstanding.junit.enums.MessageType;


public class GatewayBo implements Serializable {

	public IsDelete getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(IsDelete isDelete) {
		this.isDelete = isDelete;
	}

	public IsBatch getIsBatch() {
		return isBatch;
	}

	public void setIsBatch(IsBatch isBatch) {
		this.isBatch = isBatch;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGatewayName() {
		return gatewayName;
	}

	public void setGatewayName(String gatewayName) {
		this.gatewayName = gatewayName;
	}

	public EnableDisableType getGatewayState() {
		return gatewayState;
	}

	public void setGatewayState(EnableDisableType gatewayState) {
		this.gatewayState = gatewayState;
	}

	public String getGatewayNo() {
		return gatewayNo;
	}

	public void setGatewayNo(String gatewayNo) {
		this.gatewayNo = gatewayNo;
	}

	public String getGatewayWeight() {
		return gatewayWeight;
	}

	public void setGatewayWeight(String gatewayWeight) {
		this.gatewayWeight = gatewayWeight;
	}

	public String getGatewayKey() {
		return gatewayKey;
	}

	public void setGatewayKey(String gatewayKey) {
		this.gatewayKey = gatewayKey;
	}

	public String getGatewaySecret() {
		return gatewaySecret;
	}

	public void setGatewaySecret(String gatewaySecret) {
		this.gatewaySecret = gatewaySecret;
	}

	public String getGatewayUrl() {
		return gatewayUrl;
	}

	public void setGatewayUrl(String gatewayUrl) {
		this.gatewayUrl = gatewayUrl;
	}

	public MessageType getGatewayType() {
		return gatewayType;
	}

	public void setGatewayType(MessageType gatewayType) {
		this.gatewayType = gatewayType;
	}

	public String getGatewayBatchUrl() {
		return gatewayBatchUrl;
	}

	public void setGatewayBatchUrl(String gatewayBatchUrl) {
		this.gatewayBatchUrl = gatewayBatchUrl;
	}

	/** serialVersionUID */
	private static final long serialVersionUID = -6441726530530049533L;
	
	/**主键(消息服务商)ID*/
	private Long id;
	
	/**服务商名称*/
	private String gatewayName;
	
	/**服务商状态*/
	private EnableDisableType gatewayState;
	
	/**服务商编码*/
	private String gatewayNo;
	
	/**权重*/
	private String gatewayWeight;
	
	/**账号*/
	private String gatewayKey;
	
	/**密钥*/
	private String gatewaySecret;
	
	/**url*/
	private String gatewayUrl;
	
	/**服务商类型*/
	private MessageType gatewayType;
	
	/**是否删除*/
	private IsDelete isDelete;
	
	/**是否支持批量发送*/
	private IsBatch isBatch;
	
	/**批量发送接口*/
	private String gatewayBatchUrl;
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
